projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cbab03d
)
Make gio sniffing test work again
author
Matthias Clasen
<mclasen@redhat.com>
Wed, 26 May 2010 01:33:40 +0000
(21:33 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Wed, 26 May 2010 01:33:40 +0000
(21:33 -0400)
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index e4fa2428f185ac2d5584817f158327710844a816..cfd34706a8339307b00e02051ee2bccf3f485bbd 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-1092,9
+1092,10
@@
if test x$gio_can_sniff = x; then
{
char *content_type;
char *image_png;
+ g_type_init ();
content_type = g_content_type_guess (NULL, data, data_size, NULL);
image_png = g_content_type_from_mime_type ("image/png");
- return !!
strcmp
(content_type, image_png);
+ return !!
g_strcmp0
(content_type, image_png);
}]])],
[gio_can_sniff=yes
AC_DEFINE(GDK_PIXBUF_USE_GIO_MIME, 1, [Define if gio can sniff image data])],